home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / NeoIntroTCL3.0 folder / TCL / NeoDemo / Includes / CNeoDialogText.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-31  |  1.2 KB  |  51 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  CNeoDialogText.h
  3.  
  4.          Interface for NeoDialogText class/
  5.  
  6.  
  7.     SUPERCLASS =
  8.  
  9.     Copyright © 1991 Symantec Corporation.    All rights reserved.
  10.     Copyright © 1992 NeoLogic Systems        All rights reserved.
  11.  
  12.  
  13.  ******************************************************************************/
  14.  
  15. #define _H_CNeoDialogText
  16.  
  17. #include "CDialogText.h"
  18.  
  19. class CDialog;
  20.  
  21. class CNeoDialogText : public CDialogText
  22. {
  23. public:
  24.  
  25.  
  26.     void             INeoDialogText(CView *anEnclosure, CView *aSupervisor, short aWidth, short aHeight,
  27.                         short aHEncl, short aVEncl, SizingOption aHSizing, SizingOption aVSizing,
  28.                         short aLineWidth, Boolean aBorderVisible);
  29.     void            DoClick(Point hitPt, short modifierKeys, long when);
  30.     void            showBorder(const Boolean aShow);
  31.     void            DoCommand(long    theCommand);
  32.     void            DoKeyDown(char theChar, Byte keyCode, EventRecord *macEvent);
  33.     Boolean            BecomeGopher(Boolean fBecoming);
  34.  
  35. protected:
  36.  
  37.     Boolean            fBorderVisible : 1;            // TRUE if border is visible
  38.  
  39.     virtual void     MakeBorder(void);
  40. };
  41.  
  42. /* Change propagation constants for CDialogText */
  43.  
  44. enum
  45. {
  46.             /* indicates border may need changing */
  47.             /* info parameter is whether borders should be visible    */
  48.     NeoDialogBordersChanged    = 100
  49. };
  50.  
  51.